import React from 'react'
import GetNew from './Children/GetNew'
import TwoNew from './Children/TwoNew'

export default function NewPeople(props) {
    return (
        <div>
            <div className="newpeople_wrap">
                <div className="newp_header">
                    <div className="newp_h_l">
                        <span>新人专享</span>
                        <span>05</span>:
                        <span>42</span>:
                        <span>47</span>
                    </div>
                    <div className="newp_h_r">
                        <span>查看全部</span>
                    </div>
                </div>
                <div className="onePrise">
                    <div className="one_header">
                        <span>1重礼</span>
                        <span>新人特价商品专区</span>
                        <span>(限量供应，先到先得)</span>
                    </div>
                    <GetNew {...props}></GetNew>
                </div>
                <div className="twoPrise">
                    <div className="two_header">
                        <span>2重礼</span>
                        <span>新人通用50元礼券</span>
                        <span>(下单立减，省了又省)</span>
                    </div>
                    <TwoNew {...props}></TwoNew>
                </div>
            </div>
        </div>
    )
}
